
import java.util.Scanner;
public class practice {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        int n = sc.nextInt();
        int k = 0;
        int m = 0;
        for (int i = 0; i <= 20; i++) {
            for(int j = 0; j <= 50; j++) {
                    if(100 - 5 * i - 2 * j >= 0)
                    k++;
            }
        }
        System.out.println(k);
    }
}
